package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfMemberGiveCoinLogDao;
import com.wfcm.entity.WfMemberGiveCoinLogEntity;
import com.wfcm.service.WfMemberGiveCoinLogService;



@Service("wfMemberGiveCoinLogService")
public class WfMemberGiveCoinLogServiceImpl implements WfMemberGiveCoinLogService {
	@Autowired
	private WfMemberGiveCoinLogDao wfMemberGiveCoinLogDao;
	
	@Override
	public WfMemberGiveCoinLogEntity queryObject(Integer id){
		return wfMemberGiveCoinLogDao.queryObject(id);
	}
	
	@Override
	public List<WfMemberGiveCoinLogEntity> queryList(Map<String, Object> map){
		return wfMemberGiveCoinLogDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfMemberGiveCoinLogDao.queryTotal(map);
	}
	
	@Override
	public void save(WfMemberGiveCoinLogEntity wfMemberGiveCoinLog){
		wfMemberGiveCoinLogDao.save(wfMemberGiveCoinLog);
	}
	
	@Override
	public void update(WfMemberGiveCoinLogEntity wfMemberGiveCoinLog){
		wfMemberGiveCoinLogDao.update(wfMemberGiveCoinLog);
	}
	
	@Override
	public void delete(Integer id){
		wfMemberGiveCoinLogDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfMemberGiveCoinLogDao.deleteBatch(ids);
	}

	@Override
	public List<WfMemberGiveCoinLogEntity> queryByOrderCode(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return wfMemberGiveCoinLogDao.queryByOrderCode(map);
	}

	@Override
	public List<String> queryMonth(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return wfMemberGiveCoinLogDao.queryMonth(map);
	}
	
}
